import https from '../index'

// 登录
export const login = (data)=>{
	return https({
		action:'user/login',
		data
	})
}
// 注册
export const register = (data)=>{
	return https({
		action:'user/register',
		data
	})
}
// 退出
export const logout = (data)=>{
	return https({
		action:'user/logout',
		data
	})
}


export const check_token = (data)=>{
	return https({
		action:'user/token',
		data
	})
}
